autogen: Only do submodule update if we don't have libgsystem
authorColin Walters <walters@verbum.org>
Tue, 25 Sep 2012 02:20:36 +0000 (22:20 -0400)
committerColin Walters <walters@verbum.org>
Tue, 25 Sep 2012 02:20:36 +0000 (22:20 -0400)
Otherwise we'll fail due to not being a git repository in the
embedded-dependency tarball case.

autogen.sh

index 75a16b685a4abc6899c26bc54ecec24c30646451..bd98a54a0aac2b42fb4c65de78c1e9905f21f30b 100755 (executable)
@@ -21,8 +21,8 @@ if test ! -f src/libgsystem/README;
 then
   echo "+ Setting up submodules"
   git submodule init
+  git submodule update
 fi
-git submodule update
 
 autoreconf --force --install --verbose